<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../JS/vue.js"></script>
</head>
<body>

    <div id="app">
        {{message}}
        {{name}}
    </div>

<script>
        //声明式编程
        //let 变量 const 常量 
   const app =  new Vue({
        el: '#app', //用于挂载要管理的元素
        data:{
            message:'你好，xxx',
            name: 'coderwhy'
        }
    })
</script>
</body>
</html>